package com.itheima.dao;

import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CheckItemDao {


    //查询所有Item
    public List<CheckItem> getAllIteam();

    //根据id查Item
    public CheckItem findItemById(Integer id);

    //分页
    public List<CheckItem> findPage(QueryPageBean queryPageBean);

    //增
    public Integer addItem(CheckItem checkItem);

    //改
    public Integer updateItem(CheckItem checkItem);

    //根据id删
    public Integer deleteById(Integer id);
}
